<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of UsersController
 *
 * @author juwking
 */
class UsersPage extends PageController {

    function __construct() {
        parent::__construct();
        $result = UsersQuery::create()->find();
      #  var_dump($result);
        $this->assign('users', $result);
    }

    function getPageName() {
        return 'users';
    }

    public function getTemplate() {
        return "users.tpl";
    }

    public function getSidebar() {
        $sidebar = array(
            array('test', '#'),
            array('test', '#'),
            array('test', '#'),
            array('test', '#'),
            array('test', '#')
        );
        return $sidebar;
    }

}

?>
